import java.util.Scanner;

public class JudgingAge {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while(true) {
            int age = scanner.nextInt();
            if(age<=18){
                System.out.println("是少年");
            } else if (age<=28) {
                System.out.println("是青年");
            } else if (age<=55) {
                System.out.println("是中年");
            }else {
                System.out.println("是老年");
            }
        }


    }
}
